

if __name__ == '__main__':
    try: # 可能发生的异常
        a = int(input("请输入一个数字"))
        b = int(input("请输入第二个数字"))
        print(a/b)
    except ZeroDivisionError as e: # Exception 异常
        print("zero",e)
    except ValueError as e: # Exception 异常
        print("value",e)
    else:
        print("没有发生异常执行")
    finally:
        print("不管是否发生异常都要执行")

    print("helloword")